Optimal. Leaf size=183 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {a} \tanh (c+d x)}{\sqrt {a-b \tanh ^2(c+d x)+b}}\right )}{a^{7/2} d}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 d (a+b)^2 \left (a-b \tanh ^2(c+d x)+b\right )^{3/2}}-\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 d (a+b)^3 \sqrt {a-b \tanh ^2(c+d x)+b}}-\frac {b \tanh (c+d x)}{5 a d (a+b) \left (a-b \tanh ^2(c+d x)+b\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 183, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {4128, 414, 527, 12, 377, 206} \[ -\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 d (a+b)^3 \sqrt {a-b \tanh ^2(c+d x)+b}}+\frac {\tanh ^{-1}\left (\frac {\sqrt {a} \tanh (c+d x)}{\sqrt {a-b \tanh ^2(c+d x)+b}}\right )}{a^{7/2} d}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 d (a+b)^2 \left (a-b \tanh ^2(c+d x)+b\right )^{3/2}}-\frac {b \tanh (c+d x)}{5 a d (a+b) \left (a-b \tanh ^2(c+d x)+b\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 206
Rule 377
Rule 414
Rule 527
Rule 4128
Rubi steps
\begin {align*} \int \frac {1}{\left (a+b \text {sech}^2(c+d x)\right )^{7/2}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{7/2}} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {\operatorname {Subst}\left (\int \frac {-5 a-b-4 b x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{5/2}} \, dx,x,\tanh (c+d x)\right )}{5 a (a+b) d}\\ &=-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}+\frac {\operatorname {Subst}\left (\int \frac {15 a^2+12 a b+5 b^2+2 b (9 a+5 b) x^2}{\left (1-x^2\right ) \left (a+b-b x^2\right )^{3/2}} \, dx,x,\tanh (c+d x)\right )}{15 a^2 (a+b)^2 d}\\ &=-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt {a+b-b \tanh ^2(c+d x)}}-\frac {\operatorname {Subst}\left (\int -\frac {15 (a+b)^3}{\left (1-x^2\right ) \sqrt {a+b-b x^2}} \, dx,x,\tanh (c+d x)\right )}{15 a^3 (a+b)^3 d}\\ &=-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt {a+b-b \tanh ^2(c+d x)}}+\frac {\operatorname {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {a+b-b x^2}} \, dx,x,\tanh (c+d x)\right )}{a^3 d}\\ &=-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt {a+b-b \tanh ^2(c+d x)}}+\frac {\operatorname {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {\tanh (c+d x)}{\sqrt {a+b-b \tanh ^2(c+d x)}}\right )}{a^3 d}\\ &=\frac {\tanh ^{-1}\left (\frac {\sqrt {a} \tanh (c+d x)}{\sqrt {a+b-b \tanh ^2(c+d x)}}\right )}{a^{7/2} d}-\frac {b \tanh (c+d x)}{5 a (a+b) d \left (a+b-b \tanh ^2(c+d x)\right )^{5/2}}-\frac {b (9 a+5 b) \tanh (c+d x)}{15 a^2 (a+b)^2 d \left (a+b-b \tanh ^2(c+d x)\right )^{3/2}}-\frac {b \left (33 a^2+40 a b+15 b^2\right ) \tanh (c+d x)}{15 a^3 (a+b)^3 d \sqrt {a+b-b \tanh ^2(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 7.98, size = 330, normalized size = 1.80 \[ \frac {\text {sech}^7(c+d x) \left (\frac {15}{4} e^{-7 (c+d x)} \left (a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}\right )^{7/2} \left (\tanh ^{-1}\left (\frac {a e^{2 (c+d x)}+a+2 b}{\sqrt {a} \sqrt {a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}}}\right )-\tanh ^{-1}\left (\frac {a e^{2 (c+d x)}+a+2 b e^{2 (c+d x)}}{\sqrt {a} \sqrt {a \left (e^{2 (c+d x)}+1\right )^2+4 b e^{2 (c+d x)}}}\right )\right )-\frac {4 \sqrt {a} b \sinh (c+d x) (a \cosh (2 (c+d x))+a+2 b) \left (135 a^4+480 a^3 b+a^2 \left (45 a^2+60 a b+23 b^2\right ) \cosh (4 (c+d x))+709 a^2 b^2+4 a \left (45 a^3+135 a^2 b+117 a b^2+35 b^3\right ) \cosh (2 (c+d x))+460 a b^3+120 b^4\right )}{(a+b)^3}\right )}{960 a^{7/2} d \left (a+b \text {sech}^2(c+d x)\right )^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.60, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a +b \mathrm {sech}\left (d x +c \right )^{2}\right )^{\frac {7}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b \operatorname {sech}\left (d x + c\right )^{2} + a\right )}^{\frac {7}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (a+\frac {b}{{\mathrm {cosh}\left (c+d\,x\right )}^2}\right )}^{7/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a + b \operatorname {sech}^{2}{\left (c + d x \right )}\right )^{\frac {7}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________